package config;

/**
 * @author LiangHaiBo
 * @version 1.0
 * @date 2021.9.11 上午 11:19
 *
 *
 * 支付宝的核心配置类  里面设置支付宝账户的基本信息
 */
public class AlipayConfig {
    // 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数
    public static String return_url = "外网ip:端口号/xxxServlet";  // 此处使用外网ip(使用免费的花生壳或者netapp产生的外网域名)
    // 服务器异步通知页面路径  需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    public static String notify_url = "http://localhost:8080/notify";
    // 应用ID,您的APPID，收款账号既是您的APPID对应支付宝账号
    public static String app_id = "2021000118614750";
    // 支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
    public static String alipay_public_key ="MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtJbUavtnPder9kwCI8gRa2WV10Tjv0F6phMc/6TX+IwtSEaiVMgq7e0ITmdUUbpW58rb9g9EFUnaCgm/LzIt6GZwgU6CJE5L+zMYqsBNJtHlKuC/lq8VI7j1KjNFQ06oc49a+d8euAXU4VEkoDJmc66r9fN4/v06qfOBK068PkkNAgZC7ZcYvrlZhGuoVxEVkDl5zAWBiObheWQSkoxyhfB0YSJxi6Y9awNkKkCzZAMSkpZywfspH+g1Q2aYtBbEyB5R9iKULNmGXFdShVEAJvWlX0ZyuvAjJeG/l6tBySIds1CHjn6ywhNEfQxT8lom5Awaw000fQ4BN/jQc0ywXwIDAQAB";
    // 商户私钥，您的PKCS8格式RSA2私钥
    public static String merchant_private_key="MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC0ltRq+2c916v2TAIjyBFrZZXXROO/QXqmExz/pNf4jC1IRqJUyCrt7QhOZ1RRulbnytv2D0QVSdoKCb8vMi3oZnCBToIkTkv7MxiqwE0m0eUq4L+WrxUjuPUqM0VDTqhzj1r53x64BdThUSSgMmZzrqv183j+/Tqp84ErTrw+SQ0CBkLtl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B48BRfPvNqt3GV5BW0pSaD8bc9X6jlYLt1BRCi8u5fXCXOy0wJM6TSGdorDtia/FvGmRlrEIfcRG677v9lrxqf2FJ45GZiRP1I9or0IyaXCEagZVyOV+WC7HPwWB7icLcMHlXHpGoND6uHAoGBALBEBT0g89nKiAgFfGfV5jVxSfqRsFG/aA0oGG0S3x1fYdSfRujsYxqNsZGCQpUfOi1fzhH9wuQ3MXX7L5elmMCHKUZ83g3TU5RRemB3OGwYHpntKOH81slAypFL4mk1FxxojVV780DzTL+SOYOSBRBHWlZapQu1NhYfwtNgNQ0J";
    // 签名方式
    public static String sign_type = "RSA2";
    // 字符编码格式
    public static String charset = "utf-8";
    // 支付宝网关
    public static String gatewayUrl = "https://openapi.alipaydev.com/gateway.do" ;

}
